package com.zengdw.logRecord.config;

import org.springframework.context.annotation.AdviceMode;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author zengd
 * @date 2021/9/18 10:33
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({LogRecordProxyAutoConfiguration.class})
public @interface EnableLogRecord {
    String tenant();

    AdviceMode mode() default AdviceMode.PROXY;
}
